package cn.jsc.constants;

/**
 * 常量类
 */
public class BaseConstants {
    //套餐相关常量配置类
    public class MealConstants{
        //套餐状态：正常
        public static final int STATUS_NORMAL = 0;
        //套餐状态：禁用
        public static final int STATUS_DISABLE = 1;
    }

    //员工相关常量配置类
    public class EmployeeConstants{
        //员工状态（状态：0正常，1锁定，2注销）
        public static final int STATUS_EMPLOYEE_0 = 0;
        public static final int STATUS_EMPLOYEE_1 = 1;
        public static final int STATUS_EMPLOYEE_2 = 2;
    }

    //Redis相关常量配置类
    public class RedisConstants{
        public static final String COURSE_TYPE= "courseType";
    }

    //RabbitMQ相关常量配置类
    public class RabbitMQConstants{
        public static final String EXCHANGE_TOPIC_0907 = "exchange_topic_0907";//交换机名称
        public static final String QUEUE_NAME_SMS = "queue_sms";//短信队列名称
        public static final String QUEUE_NAME_EMAIL = "queue_email";//邮件队列名称
        public static final String QUEUE_NAME_STATION = "queue_station";//站内信队列名称
        public static final String ROUTINGKEY_QUEUE_SMS = "#.sms";//短信队列的routingkey
        public static final String ROUTINGKEY_QUEUE_EMAIL = "#.email";//邮件队列的routingkey
        public static final String ROUTINGKEY_QUEUE_STATION = "#.station";//站内信队列的routingkey

    }
}
